package com.junzhiit.nengji.cms.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.junzhiit.nengji.bo.GoodsLabelItemsBO;
import com.junzhiit.nengji.cms.service.GoodsLabelItemsService;
import com.junzhiit.nengji.cms.web.vo.ResultVO;
import com.junzhiit.nengji.dao.GoodsLabelItemsDAO;

@Service
public class GoodsLabelItemsServiceImpl extends BaseServiceImpl implements GoodsLabelItemsService{
	
	@Autowired
	private GoodsLabelItemsDAO goodsLabelItemsDAO;
	
	@Override
	public ResultVO getAll(String goodsId){
		ResultVO result=new ResultVO();
		List<GoodsLabelItemsBO> data=goodsLabelItemsDAO.getAll(goodsId);
		result.setData(data);
		return result;
	}
	
	
}
